<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>类选择器多类名的使用</title>

    <style>
        .pink {
            color: pink;
        }

        .font35 {
            font-size: 35px;
        }
        .box {
            width:250px;
            height:250px;
        }
        .green {
            background: green;
        }
        .red {
            background: red;
        }

    </style>
</head>
<body>
    <div class="pink font35">
        刘德华
    </div>

<div class="box red"></div>
<div class="box green"></div>
<div class="box red"></div>
</body>
</html>